package com.wodsy.phoenix.search;

import com.wodsy.phoenix.dataobject.base.PhoenixResponseWrapper;
import com.wodsy.phoenix.dataobject.goodsc.model.search.SearchGoods;
import com.wodsy.phoenix.dataobject.goodsc.model.search.SearchResultList;
import com.wodsy.phoenix.dataservice.base.BaseService;

public interface GoodsSearch extends BaseService<SearchGoods, Long>{
	
	public PhoenixResponseWrapper<SearchResultList> searchGoodsBykeyVSDefault(String key,int pno,int psize,int min,int max,boolean price);
	
	/**
	 * 
	* @Title: searchGoodsBykeyVSPopularity
	* @Description: 搜索结果根据人气排序
	* @param     
	* @return PhoenixResponseWrapper<SearchResultList>    返回类型
	*
	 */
	public PhoenixResponseWrapper<SearchResultList> searchGoodsBykeyVSPopularity(String key,int pno,int psize,int min,int max,boolean price);
	
	/**
	 * 
	* @Title: searchGoodsBykeyVSSales
	* @Description: 搜索结果根据销售量排序
	* @param     
	* @return PhoenixResponseWrapper<SearchResultList>    返回类型
	*
	 */
	public PhoenixResponseWrapper<SearchResultList> searchGoodsBykeyVSSales(String key,int pno,int psize,int min,int max,boolean price);
	
	/**
	 * 
	* @Title: searchGoodsBykeyVSSales
	* @Description: 搜索结果根据价格排序
	* @param     
	* @return PhoenixResponseWrapper<SearchResultList>    返回类型
	*
	 */
	public PhoenixResponseWrapper<SearchResultList> searchGoodsBykeyVSPrice(String key,int pno,int psize,int min,int max,boolean price);
}
